package cn.sherer.beans.weixin;

import java.io.Serializable;

/**
 * 企业微信客服事件消息
 * https://developer.work.weixin.qq.com/document/path/94670#%E4%BA%8B%E4%BB%B6%E6%B6%88%E6%81%AF
 */
public class WxKfMsgEventItem implements Serializable {
    private String event_type;
    private String open_kfid;
    private String external_userid;
    private String scene;
    private String scene_param;
    private String welcome_code;
    private WxKfMsgEventWechatChannelsItem wechat_channels;

    public WxKfMsgEventItem() {
    }

    public String getEvent_type() {
        return event_type;
    }

    public void setEvent_type(String event_type) {
        this.event_type = event_type;
    }

    public String getOpen_kfid() {
        return open_kfid;
    }

    public void setOpen_kfid(String open_kfid) {
        this.open_kfid = open_kfid;
    }

    public String getExternal_userid() {
        return external_userid;
    }

    public void setExternal_userid(String external_userid) {
        this.external_userid = external_userid;
    }

    public String getScene() {
        return scene;
    }

    public void setScene(String scene) {
        this.scene = scene;
    }

    public String getScene_param() {
        return scene_param;
    }

    public void setScene_param(String scene_param) {
        this.scene_param = scene_param;
    }

    public String getWelcome_code() {
        return welcome_code;
    }

    public void setWelcome_code(String welcome_code) {
        this.welcome_code = welcome_code;
    }

    public WxKfMsgEventWechatChannelsItem getWechat_channels() {
        return wechat_channels == null ? new WxKfMsgEventWechatChannelsItem() : wechat_channels;
    }

    public void setWechat_channels(WxKfMsgEventWechatChannelsItem wechat_channels) {
        this.wechat_channels = wechat_channels;
    }

    @Override
    public String toString() {
        return "WxKfMsgEventItem{" + "event_type=" + event_type + ", open_kfid=" + open_kfid + ", external_userid=" + external_userid + ", scene=" + scene + ", scene_param=" + scene_param + ", welcome_code=" + welcome_code + ", wechat_channels=" + wechat_channels + "}";
    }
}
